<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>掌中游商城首页</title>
		<link href="__PUBLIC__/Home/css/index.css" rel="stylesheet" type="text/css">
		<link href="__PUBLIC__/Home/css/banner.css" rel="stylesheet" type="text/css">

		<script src="__PUBLIC__/Home/js/jquery.min.js"></script>
		<script src="__PUBLIC__/Home/js/sl.js"></script>
	</head>

	<body>
		<include file="Public:header" />
		<!-- 内容 -->
		<div id="banner_bg">	
		<div class="content">
			<div class="classification">
				<ul id="nav">			

				<foreach name="result_class" item="vo_class" key="k">
					<li class="mainCate list-item0 ">
						<h3><a style="font-size:16px;" href="{:U('Index/lvyou_list')}?class_id={$vo_class.id}">{$vo_class.class_name}</a></h3>  
						 <div class="subCate" id="sub_{$k}" style="top:-{$k * 42}px;">
							<ul id="sub-ul-1">
							  <h4 style="font-size:16px; font-weight:blod; position:relative; left:-25px; margin-bottom:20px; padding-bottom:20px; border-bottom:1px solid #38C249;">{$vo_class.class_name}</h4>
							  <li>
								  <span>
								  	<foreach name="vo_class['class_sub']" item="class_sub">
								  		<a href="{:U('Index/lvyou_list')}?class_sub_id={$class_sub.id}">{$class_sub.class_name}</a>
								  	</foreach>
								  </span>
							  </li>
							</ul>
						  </div>
					</li>
				</foreach>
				</ul>			
			</div>
			<div class="slideshow">
				<div class="focus" id="focus001">
					<ul>
					<foreach name="result_banner" item="vo_banner" key="k_2">
						<li>
						<a href="{$vo_banner.ad_link}" target="_blank"><img style="width:750px; height:466px;" src="__PUBLIC__/Uploads/ad/{$vo_banner.pic_url}" /></a>
						<input type="button" id="bg_{$k_2}" value="{$vo_banner.color_val}" />
						</li>
					</foreach>
					</ul>
				</div>
			</div>
			<div class="right-right">
				<div class="Bulletin" style="background:#FFF;">
					<h3><span class="left">掌中游快报</span><a href="{:U('Index/article')}" class="right size12" style="margin-right:10px;">更多></a></h3>
					<ul>
                    <foreach name="resul_article" item="vo_article" key="k_a">
						<li style="border-bottom:1px dashed #CCC;"><a href="{:U('Index/article_details')}?id={$vo_article.id}"><span>{$k_a+1}.</span>
                        {$vo_article.title|msubstr=0,15,'utf-8',true}</a></li>
                    </foreach>
					</ul>
				</div>
				<div class="advertising">
					<foreach name="result_ad2" item="vo_ad2">
					<a href="{$vo_ad2.ad_link}">
						<img src="__PUBLIC__/Uploads/ad/{$vo_ad2.pic_url}" style="width:250px; height:250px;">
					</a>
					</foreach>
				</div>
			</div>
		</div>
	</div>
	<!-- 广告 -->
	<div class="month">
		<foreach name="result_home_tuijian" item="vo_home_tuijian">
			<a href="{:U('Index/lvyou_details')}?id={$vo_home_tuijian.id}">
			<img src="__PUBLIC__/Uploads/goods/{$vo_home_tuijian.pic_url}" style="width:240px; height:170px; margin-right:1x; "></a>
		</foreach>
	</div>
	<!-- 当季热卖 -->

	<div class="Selling">
		<h3><span>旅游特惠促销季</span></h3>
		<div class="tourism">
			<div class="play">
				<ul style="border:0;">
					<a href="#">热们旅游</a>
					<a href="#">热们旅游</a>
					<a href="#">热们旅游</a>
				</ul>
			</div>
			<div class="List_index">
				<ul style="border:0;">
				<foreach name="result_dj_remai" item="vo_dj_remai">
					<li>
						<a href="{:U('Index/lvyou_details')}?id={$vo_dj_remai.id}">
							<img src="__PUBLIC__/Uploads/goods/{$vo_dj_remai.pic_url}">
							<p class="title" style="color:#FFF;">
								{$vo_dj_remai.title|msubstr=0,12,'utf-8',true}</p>
						</a>
						<p><span class="left yellow1"><strong >¥</strong> <strong class="size20">{$vo_dj_remai.price_new}</strong> 起</span></p>
					</li>
				</foreach>	
			</ul>
		</div>
	</div>
	<div class="clear"></div>

	<if condition="!empty($result_0)">
		<h3><span>出境长线</span><a href="{:U('Index/lvyou_list')}?class_id=31" style="float:right;">更多 >> </a></h3>
	    <ul>
		<foreach name="result_0" item="vo_0">
	    	<li style="padding-bottom:0; padding-top:10px; width:220px; height:280px;">
	        	<p><a href="{:U('Index/lvyou_details')}?id={$vo_0.id}"><img style=" width:222px; height:170px;" src="__PUBLIC__/Uploads/goods/{$vo_0.pic_url}" /></p>
	            <p style="height:50px;">{$vo_0.title|msubstr=0,38,'utf-8',true}</p>
	            <p style="height:24px;"><span style="text-decoration:line-through;">市场价:{$vo_0.price_old}</span>
	            <span style="float:right;">送积分: <span style="color:#FF9933; font-weight:600;">{$vo_0.fanli_jifen}积分&nbsp;&nbsp;</span></p>
	            <p style="min-height:40px;">
				<span class="yellow1 size20">￥{$vo_0.price_new}</span><a href="{:U('Index/lvyou_details')}?id={$vo_0.id}" style="margin-right:0;" class="immediately">立即预订</a></p>
	        </li>
		</foreach>
	    </ul>
	</if>
	
	<if condition="!empty($result_1)">
		<h3><span>出境短线</span><a href="{:U('Index/lvyou_list')}?class_id=33" style="float:right;">更多 >> </a></h3>
	    <ul>
		<foreach name="result_1" item="vo_1">
	    	<li style="padding-bottom:0; padding-top:10px; width:220px; height:280px;">
	        	<p><a href="{:U('Index/lvyou_details')}?id={$vo_1.id}"><img style=" width:222px; height:170px;" src="__PUBLIC__/Uploads/goods/{$vo_1.pic_url}" /></p>
	            <p style="height:50px;">{$vo_1.title|msubstr=0,38,'utf-8',true}</p>
	            <p style="height:24px;"><span style="text-decoration:line-through;">市场价:{$vo_1.price_old}</span>
	            <span style="float:right;">送积分: <span style="color:#FF9933; font-weight:600;">{$vo_1.fanli_jifen}积分&nbsp;&nbsp;</span></p>
	            <p style="min-height:40px;"><span class="yellow1 size20">￥{$vo_1.price_new}</span>
				<a href="{:U('Index/lvyou_details')}?id={$vo_1.id}" style="margin-right:0;" class="immediately">立即预订</a></p>
	        </li>
		</foreach>
	    </ul>
	</if>
	
	<if condition="!empty($result_2)">
		<h3><span>海岛/邮轮</span><a href="{:U('Index/lvyou_list')}?class_id=91" style="float:right;">更多 >> </a></h3>
	    <ul>
		<foreach name="result_2" item="vo_2">
	    	<li style="padding-bottom:0; padding-top:10px; width:220px; height:280px;">
	        	<p><a href="{:U('Index/lvyou_details')}?id={$vo_2.id}"><img style=" width:222px; height:170px;" src="__PUBLIC__/Uploads/goods/{$vo_2.pic_url}" /></p>
	            <p style="height:50px;">{$vo_2.title|msubstr=0,38,'utf-8',true}</p>
	            <p style="height:24px;"><span style="text-decoration:line-through;">市场价:{$vo_2.price_old}</span>
	            <span style="float:right;">送积分: <span style="color:#FF9933; font-weight:600;">{$vo_2.fanli_jifen}积分&nbsp;&nbsp;</span></p>
	            <p style="min-height:40px;"><span class="yellow1 size20">￥{$vo_2.price_new}</span>
				<a href="{:U('Index/lvyou_details')}?id={$vo_2.id}" style="margin-right:0;" class="immediately">立即预订</a></p>
	        </li>
		</foreach>
	    </ul>
	</if>
	
	<if condition="!empty($result_3)">
		<h3><span>国内跟团</span><a href="{:U('Index/lvyou_list')}?class_id=35" style="float:right;">更多 >> </a></h3>
	    <ul>
		<foreach name="result_3" item="vo_3">
	    	<li style="padding-bottom:0; padding-top:10px; width:220px; height:280px;">
	        	<p><a href="{:U('Index/lvyou_details')}?id={$vo_3.id}"><img style=" width:222px; height:170px;" src="__PUBLIC__/Uploads/goods/{$vo_3.pic_url}" /></p>
	            <p style="height:50px;">{$vo_3.title|msubstr=0,38,'utf-8',true}</p>
	            <p style="height:24px;"><span style="text-decoration:line-through;">市场价:{$vo_3.price_old}</span>
	            <span style="float:right;">送积分: <span style="color:#FF9933; font-weight:600;">{$vo_3.fanli_jifen}积分&nbsp;&nbsp;</span></p>
	            <p style="min-height:40px;"><span class="yellow1 size20">￥{$vo_3.price_new}</span>
				<a href="{:U('Index/lvyou_details')}?id={$vo_3.id}" style="margin-right:0;" class="immediately">立即预订</a></p>
	        </li>
		</foreach>
	    </ul>	
	</if>
	
	<div class="clear"></div>

</div>		


		
<div class="clear">

<div class="w1210" style="margin-top: 30px;">
<foreach name="result_ad_footer" item="vo_ad5">
	<p style="margin: 0 auto; width: 1200px;"><a href="{$vo_ad5.ad_link}"><img style="width:1210px; height:160px;" src="__PUBLIC__/Uploads/ad/{$vo_ad5.pic_url}"/></a></p>
</foreach>
</div>

<include file="Public:footer" />

<script type="text/javascript">
	$(function(){
	  	$.focus("#focus001");
	  	$('.mainCate').mouseover(function(){
			$(this).find('.subCate').css('display','block')
			$(this).siblings('li').find('.subCate').css('display','none');
		}).mouseout(function(){
			$('.subCate').css('display','none');
		});
	});
</script>

</body>
</html>